package domain

import (
        "topsdk/util"
    )

type AlibabaBenefitQueryOrightDto struct {
    /*
        奖品id     */
    PrizeId  *int64 `json:"prize_id,omitempty" `

    /*
        模板名称     */
    TemplateName  *string `json:"template_name,omitempty" `

    /*
        权益内容     */
    BenefitName  *string `json:"benefit_name,omitempty" `

    /*
        权益类型名称     */
    RightTypeName  *string `json:"right_type_name,omitempty" `

    /*
        权益类型id     */
    RightTypeId  *int64 `json:"right_type_id,omitempty" `

    /*
        开始时间     */
    StartDate  *util.LocalTime `json:"start_date,omitempty" `

    /*
        结束时间     */
    EndDate  *util.LocalTime `json:"end_date,omitempty" `

    /*
        总数     */
    PrizeQuantity  *int64 `json:"prize_quantity,omitempty" `

    /*
        可发放数     */
    RemainPrizeQuantity  *int64 `json:"remain_prize_quantity,omitempty" `

    /*
        概率     */
    Probability  *string `json:"probability,omitempty" `

    /*
        金额     */
    Amount  *string `json:"amount,omitempty" `

    /*
        使用开始时间     */
    UseStartTime  *util.LocalTime `json:"use_start_time,omitempty" `

    /*
        使用结束时间     */
    UseEndTime  *util.LocalTime `json:"use_end_time,omitempty" `

    /*
        门槛     */
    Condition  *string `json:"condition,omitempty" `

    /*
        扩展参数     */
    ExtAttribute  *string `json:"ext_attribute,omitempty" `

}

func (s *AlibabaBenefitQueryOrightDto) SetPrizeId(v int64) *AlibabaBenefitQueryOrightDto {
    s.PrizeId = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetTemplateName(v string) *AlibabaBenefitQueryOrightDto {
    s.TemplateName = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetBenefitName(v string) *AlibabaBenefitQueryOrightDto {
    s.BenefitName = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetRightTypeName(v string) *AlibabaBenefitQueryOrightDto {
    s.RightTypeName = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetRightTypeId(v int64) *AlibabaBenefitQueryOrightDto {
    s.RightTypeId = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetStartDate(v util.LocalTime) *AlibabaBenefitQueryOrightDto {
    s.StartDate = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetEndDate(v util.LocalTime) *AlibabaBenefitQueryOrightDto {
    s.EndDate = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetPrizeQuantity(v int64) *AlibabaBenefitQueryOrightDto {
    s.PrizeQuantity = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetRemainPrizeQuantity(v int64) *AlibabaBenefitQueryOrightDto {
    s.RemainPrizeQuantity = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetProbability(v string) *AlibabaBenefitQueryOrightDto {
    s.Probability = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetAmount(v string) *AlibabaBenefitQueryOrightDto {
    s.Amount = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetUseStartTime(v util.LocalTime) *AlibabaBenefitQueryOrightDto {
    s.UseStartTime = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetUseEndTime(v util.LocalTime) *AlibabaBenefitQueryOrightDto {
    s.UseEndTime = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetCondition(v string) *AlibabaBenefitQueryOrightDto {
    s.Condition = &v
    return s
}
func (s *AlibabaBenefitQueryOrightDto) SetExtAttribute(v string) *AlibabaBenefitQueryOrightDto {
    s.ExtAttribute = &v
    return s
}
